<?php
class Login_Data_Updatepassword implements Login_Data_Mainbale{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables[''] = "UPDATE account_settings SET password='".sha1($variables['password'])."' WHERE email='".$variables['post']['email']."';";
        return $this->core_controller_dataoperation->main($variables);
    }
}
